//
//  OperationModel.h
//  YSSmartHome
//
//  Created by Yahaong on 16/8/19.
//  Copyright © 2016年 yahaong. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface OperationModel : NSObject

@property(nonatomic, assign)uint32_t apsn;
@property(nonatomic, assign)uint64_t luid;
@property(nonatomic, assign)uint32_t triggerApsn;
@property(nonatomic, assign)uint64_t triggerLuid;
@property(atomic, assign)uint32_t time;
@property(nonatomic, copy)NSString *operation;

///构造器1
+ (OperationModel *)operationWithApsn:(uint32_t)apsn
                      luid:(uint64_t)luid
                    triggerApsn:(uint32_t)triggerApsn
                          triggerLuid:(uint64_t)triggerLuid
                          time:(uint32_t)time
                         operation:(NSString *)operation;
@end
